﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mammoth.Entities
{
    public class OutboxEntity : Entity
    {
        public AccountEntity Service { get; set; }
        public UserEntity Buddy { get; set; }

        [StringLength(256, ErrorMessage = "Pesan tidak boleh lebih dari 256 karakter")]
        public string Message { get; set; }
    }
}
